<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="robots" content="noindex,nofollow">
<title>Administration Tool</title>
<?php
echo $this->Html->css('backend/style');
?>
</head>
<body>
<div id="header">
	Administrator Tool
</div>
<center>
<?php if($this->Session->read('error'))
	echo '<div class="messageError" style="width:400px;padding:7px;margin:10 0;"> '.$this->Session->read('error').' </div>';
	$this->Session->delete('error');
?>
<form id="UserAddForm" action="<?php echo BACKEND_URL?>/users/login" method="post">
<input type="hidden" name="timezone" id="timezone" value=""/>
<div style="border:1px solid #D5D5D5;margin-top:40px;width:300px;background-color:#EFEFEF">
	<div id="loginLogo">&nbsp;</div>
	<div style="float:left;text-align:left;">
		<div style="margin-top:10px;margin-bottom:10px;font-weight:bold">Administrator Login</div>
		<div>Username:</div>
		<div><input type="text" maxlength="255" name="data[User][username]"/></div>
		<div>Password:</div>
		<div><input type="password" maxlength="255" name="data[User][password]"/></div>
		<div style="margin-top:10px"><input id="login_button" type="submit" value="Login"/></div>
	
	</div>
	<div class="clear">&nbsp;</div>
</div>
</form>
</center>
<script type="text/javascript">
	document.getElementById("timezone").value=(new Date()).getTimezoneOffset();
</script>
</body>
</html>
